package org.dizem.minichat.model;

/**
 * User: DIZEM
 * Time: 11-3-26 下午12:45
 */
public class Address {
	private String ip;
	private int port;

	public Address(String ip, int port) {
		this.ip = ip;
		this.port = port;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	@Override
	public String toString() {
		return "Address{" +
				"ip='" + ip + '\'' +
				", port=" + port +
				'}';
	}
}
